//
//  ByDottedLineView.h
//  beibei_ios
//
//  Created by mc on 16/6/20.
//  Copyright © 2016年 hebidu. All rights reserved.
//


//波浪线 张占彬
#import <UIKit/UIKit.h>


typedef NS_ENUM(NSInteger, DottedLineViewDirection) {
    DottedLineViewDirectionAutomatic = 0,
    DottedLineViewDirectionHorizontalFromLeft,
    DottedLineViewDirectionHorizontalFromRight,
    DottedLineViewDirectionVerticalFromTop,
    DottedLineViewDirectionVerticalFromBottom,
};

//单条虚线
@interface ByDottedLineView : UIView

@property (assign, nonatomic) DottedLineViewDirection direction UI_APPEARANCE_SELECTOR;

@property (assign, nonatomic) CGFloat phase UI_APPEARANCE_SELECTOR;

@property (strong, nonatomic) NSArray *lengthPattern UI_APPEARANCE_SELECTOR;

@property (strong, nonatomic) UIColor *lineColor UI_APPEARANCE_SELECTOR;

@end

//矩形框虚线 一种实现方式
@interface ByDottedLineRectangularView : UIView

@end

//矩形框虚线 一种实现方式UILable
@interface ByDottedLineCircleRectangularLabel : UILabel

@property (assign, nonatomic) CGFloat phase UI_APPEARANCE_SELECTOR;

@property (strong, nonatomic) NSArray *lengthPattern UI_APPEARANCE_SELECTOR;

@property (strong, nonatomic) UIColor *lineColor UI_APPEARANCE_SELECTOR;

@property (assign, nonatomic) CGFloat borderWidth UI_APPEARANCE_SELECTOR;

@end


//矩形框虚线 一种实现方式
@interface ByDottedLineBorderView : UIView

@property (assign, nonatomic) CGFloat phase UI_APPEARANCE_SELECTOR;

@property (strong, nonatomic) NSArray *lengthPattern UI_APPEARANCE_SELECTOR;

@property (strong, nonatomic) UIColor *lineColor UI_APPEARANCE_SELECTOR;

@property (assign, nonatomic) CGFloat borderWidth UI_APPEARANCE_SELECTOR;

@end

//矩形框虚线 一种实现方式UILable
@interface ByDottedLineBorderLable : UILabel

@property (assign, nonatomic) CGFloat phase UI_APPEARANCE_SELECTOR;

@property (strong, nonatomic) NSArray *lengthPattern UI_APPEARANCE_SELECTOR;

@property (strong, nonatomic) UIColor *lineColor UI_APPEARANCE_SELECTOR;

@property (assign, nonatomic) CGFloat borderWidth UI_APPEARANCE_SELECTOR;

@end






//矩形框虚线 一种实现方式Button
@interface ByDottedLineBorderButton : UIButton

@property (assign, nonatomic) CGFloat phase UI_APPEARANCE_SELECTOR;

@property (strong, nonatomic) NSArray *lengthPattern UI_APPEARANCE_SELECTOR;

@property (strong, nonatomic) UIColor *lineColor UI_APPEARANCE_SELECTOR;

@property (assign, nonatomic) CGFloat borderWidth UI_APPEARANCE_SELECTOR;

@end

//推荐使用
@interface ByDottedLineSecondBorderButton : UIButton

@property (assign, nonatomic) CGFloat phase UI_APPEARANCE_SELECTOR;

@property (strong, nonatomic) NSArray *lengthPattern UI_APPEARANCE_SELECTOR;

@property (strong, nonatomic) UIColor *lineColor UI_APPEARANCE_SELECTOR;

@property (assign, nonatomic) CGFloat borderWidth UI_APPEARANCE_SELECTOR;

@end







